package com.cyl.order.domain;

import java.util.List;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 订单信息管理对象 t_order_info
 * 
 * @author ruoyi
 * @date 2025-04-14
 */
public class TOrderInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 销售单号 */
    @Excel(name = "销售单号")
    private String orderId;

    /** 销售日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "销售日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderDate;

    /** 姓名 */
    @Excel(name = "姓名")
    private String cmsName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String cmsPhone;

    /** 地址 */
    @Excel(name = "地址")
    private String cmsAddress;

    /** 皮头参数 */
    @Excel(name = "皮头参数")
    private String pitou;

    private String cueLevel;

    /** 重量 */
    @Excel(name = "重量")
    private String cueWeight;

    /** 长度 */
    @Excel(name = "长度")
    private String cueLength;

    /** 握把 */
    @Excel(name = "握把")
    private String cueGrip;

    /** 重心 */
    @Excel(name = "重心")
    private String cueBarycenter;

    /** 销售人员 */
    @Excel(name = "销售人员")
    private String salesperson;

    /** 总金额 */
    @Excel(name = "总金额")
    private String totalAmount;

    /** 已付金额 */
    @Excel(name = "已付金额")
    private String paidAmount;

    /** 验收时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "验收时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date acceptanceTime;

    /** 订单明细信息 */
    private List<TOrderDetails> tOrderDetailsList;

    public List<TOrderDetails> gettOrderDetailsList() {
        return tOrderDetailsList;
    }

    public String getCueLevel() {
        return cueLevel;
    }

    public void setCueLevel(String cueLevel) {
        this.cueLevel = cueLevel;
    }

    public void settOrderDetailsList(List<TOrderDetails> tOrderDetailsList) {
        this.tOrderDetailsList = tOrderDetailsList;
    }

    /**
     *  订单状态
     */
    private Long orderStatus;

    /**
     *  前肢状态
     */
    private Long cueMaterialStatus;
    /**
     *  物流单号
     */
    private String logisticsId;

    public Long getCueMaterialStatus() {
        return cueMaterialStatus;
    }

    public void setCueMaterialStatus(Long cueMaterialStatus) {
        this.cueMaterialStatus = cueMaterialStatus;
    }

    public Long getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Long orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getLogisticsId() {
        return logisticsId;
    }

    public void setLogisticsId(String logisticsId) {
        this.logisticsId = logisticsId;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderId(String orderId) 
    {
        this.orderId = orderId;
    }

    public String getOrderId() 
    {
        return orderId;
    }
    public void setOrderDate(Date orderDate) 
    {
        this.orderDate = orderDate;
    }

    public Date getOrderDate() 
    {
        return orderDate;
    }
    public void setCmsName(String cmsName) 
    {
        this.cmsName = cmsName;
    }

    public String getCmsName() 
    {
        return cmsName;
    }
    public void setCmsPhone(String cmsPhone) 
    {
        this.cmsPhone = cmsPhone;
    }

    public String getCmsPhone() 
    {
        return cmsPhone;
    }
    public void setCmsAddress(String cmsAddress) 
    {
        this.cmsAddress = cmsAddress;
    }

    public String getCmsAddress() 
    {
        return cmsAddress;
    }
    public void setPitou(String pitou) 
    {
        this.pitou = pitou;
    }

    public String getPitou() 
    {
        return pitou;
    }
    public void setCueWeight(String cueWeight) 
    {
        this.cueWeight = cueWeight;
    }

    public String getCueWeight() 
    {
        return cueWeight;
    }
    public void setCueLength(String cueLength) 
    {
        this.cueLength = cueLength;
    }

    public String getCueLength() 
    {
        return cueLength;
    }
    public void setCueGrip(String cueGrip) 
    {
        this.cueGrip = cueGrip;
    }

    public String getCueGrip() 
    {
        return cueGrip;
    }
    public void setCueBarycenter(String cueBarycenter) 
    {
        this.cueBarycenter = cueBarycenter;
    }

    public String getCueBarycenter() 
    {
        return cueBarycenter;
    }
    public void setSalesperson(String salesperson) 
    {
        this.salesperson = salesperson;
    }

    public String getSalesperson() 
    {
        return salesperson;
    }
    public void setTotalAmount(String totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public String getTotalAmount() 
    {
        return totalAmount;
    }
    public void setPaidAmount(String paidAmount) 
    {
        this.paidAmount = paidAmount;
    }

    public String getPaidAmount() 
    {
        return paidAmount;
    }
    public void setAcceptanceTime(Date acceptanceTime) 
    {
        this.acceptanceTime = acceptanceTime;
    }

    public Date getAcceptanceTime() 
    {
        return acceptanceTime;
    }

    public List<TOrderDetails> getTOrderDetailsList()
    {
        return tOrderDetailsList;
    }

    public void setTOrderDetailsList(List<TOrderDetails> tOrderDetailsList)
    {
        this.tOrderDetailsList = tOrderDetailsList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("orderDate", getOrderDate())
            .append("cmsName", getCmsName())
            .append("cmsPhone", getCmsPhone())
            .append("cmsAddress", getCmsAddress())
            .append("pitou", getPitou())
            .append("cueWeight", getCueWeight())
            .append("cueLength", getCueLength())
            .append("cueGrip", getCueGrip())
            .append("cueBarycenter", getCueBarycenter())
            .append("salesperson", getSalesperson())
            .append("totalAmount", getTotalAmount())
            .append("paidAmount", getPaidAmount())
            .append("acceptanceTime", getAcceptanceTime())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("tOrderDetailsList", getTOrderDetailsList())
            .toString();
    }
}
